package com.java2007.zhangyu.restaurant.service;

import com.java2007.zhangyu.restaurant.pojo.OrderDetail;

import java.sql.SQLException;
import java.util.List;

/**
 * @author zy
 * @Version
 * @date 2021/01/29
 */
public interface OrderDetailService {
    /**
     * 根据订单id查询
     * @param oId
     * @return
     * @throws SQLException
     */
    List<OrderDetail> queryByOrderId(Long oId) throws SQLException;
}
